package com.ellwood.dataMapper.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ellwood.common.core.base.EntityBase;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @ProjectName: ellwood-pro
 * @PackageName: org.ellwood.modules.system.entity
 * @ClassName: DeptEntity
 * @Description: // 部门表
 * @Author: Ellwood
 * @CreateDate: 2024/2/21 - 13:38
 * @Version: V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ToString
@TableName("sys_dept")
public class DeptEntity extends EntityBase {

    /**
     * 部门ID
     */
    @TableId
    private Long deptId;

    /*父部门ID**/
    private Long deptPid;

    /**
     * 祖级列表
     */
    private String ancestors;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 负责人
     */
    private String leader;

    /**
     * private String phone;
     * <p>
     * /**备注
     */
    private String isRemark;

}
